itk_module_test()
set(ITKReviewTests
itkAddConstantToImageFilterTest.cxx
itkAreaClosingImageFilterTest.cxx
itkAreaOpeningImageFilterTest.cxx
itkBoxMeanImageFilterTest.cxx
itkBoxSigmaImageFilterTest.cxx
itkBruker2DSEQImageIOTest.cxx
itkBSplineControlPointImageFilterTest.cxx
itkBSplineControlPointImageFunctionTest.cxx
itkConformalFlatteningMeshFilterTest.cxx
itkConformalFlatteningQuadEdgeMeshFilterTest.cxx
itkContourExtractor2DImageFilterTest.cxx
itkDiffeomorphicDemonsRegistrationFilterTest.cxx
itkDiffeomorphicDemonsRegistrationFilterTest2.cxx
itkDirectFourierReconstructionImageToImageFilterTest.cxx
itkDiscreteGaussianDerivativeImageFilterScaleSpaceTest.cxx
itkDiscreteGaussianDerivativeImageFilterTest.cxx
itkDiscreteGaussianDerivativeImageFunctionTest.cxx
itkDiscreteGradientMagnitudeGaussianImageFunctionTest.cxx
itkDiscreteHessianGaussianImageFunctionTest.cxx
itkDivideByConstantImageFilterTest.cxx
itkExponentialDisplacementFieldImageFilterTest.cxx
itkFastApproximateRankImageFilterTest.cxx
itkFastSymmetricForcesDemonsRegistrationFilterTest.cxx
itkGaborImageSourceTest.cxx
itkGaussianDerivativeOperatorTest.cxx
itkGridForwardWarpImageFilterTest.cxx
itkGridImageSourceTest.cxx
itkHessianToObjectnessMeasureImageFilterTest.cxx
itkImageReadComplexWriteMagnitudeAndPhaseTest.cxx
itkImageReadMagnitudeAndPhaseWriteComplexTest.cxx
itkImageFunctionTest.cxx
itkJPEG2000ImageIOFactoryTest01.cxx
itkJPEG2000ImageIORegionOfInterest.cxx
itkJPEG2000ImageIOTest00.cxx
itkJPEG2000ImageIOTest01.cxx
itkJPEG2000ImageIOTest02.cxx
itkJPEG2000ImageIOTest03.cxx
itkJPEG2000ImageIOTest04.cxx
itkJPEG2000ImageIOTest05.cxx
itkJPEG2000ImageIOTest06.cxx
itkKappaSigmaThresholdImageCalculatorTest.cxx
itkKappaSigmaThresholdImageFilterTest.cxx
itkLabelGeometryImageFilterTest.cxx
itkMapMaskedRankImageFilterTest.cxx
itkMapRankImageFilterTest.cxx
itkMaskedRankImageFilterTest.cxx
itkMorphologicalWatershedFromMarkersImageFilterTest.cxx
itkMorphologicalWatershedImageFilterTest.cxx
itkMRCImageIOTest.cxx
itkMultiphaseDenseFiniteDifferenceImageFilterTest.cxx
itkMultiphaseFiniteDifferenceImageFilterTest.cxx
itkMultiphaseSparseFiniteDifferenceImageFilterTest.cxx
itkMultiplyByConstantImageFilterTest.cxx
itkMultiScaleHessianBasedMeasureImageFilterTest.cxx
itkNeuralNetworkIOTest.cxx
itkN4MRIBiasFieldCorrectionImageFilterTest
itkOptImageToImageMetricsTest.cxx
itkOptImageToImageMetricsTest2.cxx
itkOptMattesMutualInformationImageToImageMetricThreadsTest1.cxx
itkRankImageFilterTest.cxx
itkRegionalMaximaImageFilterTest.cxx
itkRegionalMaximaImageFilterTest2.cxx
itkRegionalMinimaImageFilterTest.cxx
itkRegionalMinimaImageFilterTest2.cxx
itkRegionBasedLevelSetFunctionTest.cxx
itkRobustAutomaticThresholdImageFilterTest.cxx
itkScalarChanAndVeseDenseLevelSetImageFilterTest1.cxx
itkScalarChanAndVeseDenseLevelSetImageFilterTest2.cxx
itkScalarChanAndVeseDenseLevelSetImageFilterTest3.cxx
itkScalarChanAndVeseDenseLevelSetImageFilterTest4.cxx
itkScalarChanAndVeseLevelSetFunctionTest1.cxx
itkScalarChanAndVeseLevelSetFunctionTest2.cxx
itkScalarChanAndVeseSparseLevelSetImageFilterTest1.cxx
itkScalarChanAndVeseSparseLevelSetImageFilterTest2.cxx
itkScalarRegionBasedLevelSetFunctionTest.cxx
itkShapedFloodFilledImageFunctionConditionalConstIteratorTest1.cxx
itkShapedFloodFilledImageFunctionConditionalConstIteratorTest2.cxx
itkShapedFloodFilledImageFunctionConditionalConstIteratorTest3.cxx
itkStochasticFractalDimensionImageFilterTest.cxx
itkSubtractConstantFromImageFilterTest.cxx
itkTimeAndMemoryProbeTest.cxx
itkTransformToDisplacementFieldSourceTest.cxx
itkTransformToDisplacementFieldSourceTest1.cxx
itkValuedRegionalMaximaImageFilterTest.cxx
itkValuedRegionalMinimaImageFilterTest.cxx
itkVectorCentralDifferenceImageFunctionTest.cxx
itkVoxBoCUBImageIOTest.cxx
itkWarpHarmonicEnergyCalculatorTest.cxx
itkWarpJacobianDeterminantFilterTest.cxx
itkCompositeTransformWriterTest.cxx
itkCompositeTransformReaderTest.cxx
itkCompositeTransformWriterAndReaderTest.cxx
)

set(BASELINE ${ITK_DATA_ROOT}/Baseline/Review)
set(INPUTDATA ${ITK_DATA_ROOT}/Input)
set(BASELINE_ROOT ${ITK_DATA_ROOT}/Baseline)
set(TEMP ${ITK_TEST_OUTPUT_DIR})


if(ITK_USE_MINC2 AND MINC2_FOUND)
  set(ITKReviewTests ${ITKReviewTests} itkMINC2ImageIOTest.cxx)
endif(ITK_USE_MINC2 AND MINC2_FOUND)


if( USE_FFTWD OR USE_FFTWF )
  set( ITKReviewTests
    ${ITKReviewTests}
    itkFFTComplexToComplexImageFilterTest01.cxx
    itkFFTComplexToComplexImageFilterTest02.cxx
    )
endif( USE_FFTWD OR USE_FFTWF )


CreateTestDriver_SupportBuildInIOFactories(ITKReview  "${ITKReview-Test_LIBRARIES}" "${ITKReviewTests}")

itk_add_test(NAME itkAddConstantToImageFilterTest
      COMMAND ITKReviewTestDriver itkAddConstantToImageFilterTest)
itk_add_test(NAME itkAreaClosingImageFilterTest0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkAreaClosingImageFilterTest0.png
              ${ITK_TEST_OUTPUT_DIR}/itkAreaClosingImageFilterTest0.png
    itkAreaClosingImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkAreaClosingImageFilterTest0.png 1000 0 0)
itk_add_test(NAME itkAreaOpeningImageFilterTest0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkAreaOpeningImageFilterTest0.png
              ${ITK_TEST_OUTPUT_DIR}/itkAreaOpeningImageFilterTest0.png
    itkAreaOpeningImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkAreaOpeningImageFilterTest0.png 1000 0 1)
itk_add_test(NAME itkBoxMeanImageFilterTest3
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkBoxMeanImageFilter3.png
              ${ITK_TEST_OUTPUT_DIR}/itkBoxMeanImageFilter3.png
    itkBoxMeanImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkBoxMeanImageFilter3.png 3)
itk_add_test(NAME itkBoxMeanImageFilterTest10
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkBoxMeanImageFilter10.png
              ${ITK_TEST_OUTPUT_DIR}/itkBoxMeanImageFilter10.png
    itkBoxMeanImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkBoxMeanImageFilter10.png 10)
itk_add_test(NAME itkBoxSigmaImageFilterTest3
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkBoxSigmaImageFilter3.png
              ${ITK_TEST_OUTPUT_DIR}/itkBoxSigmaImageFilter3.png
    itkBoxSigmaImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkBoxSigmaImageFilter3.png 3)
itk_add_test(NAME itkBoxSigmaImageFilterTest10
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkBoxSigmaImageFilter10.png
              ${ITK_TEST_OUTPUT_DIR}/itkBoxSigmaImageFilter10.png
    itkBoxSigmaImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkBoxSigmaImageFilter10.png 10)
itk_add_test(NAME itkBruker2DSEQImageIOTest1
      COMMAND ITKReviewTestDriver itkBruker2DSEQImageIOTest
              ${ITK_DATA_ROOT}/Input/DCB120604.t61/11/pdata/1/2dseq ${ITK_TEST_OUTPUT_DIR}/itkBruker2DSEQImageIOTest1.mha)
itk_add_test(NAME itkBSplineControlPointImageFilterTest1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_TEST_OUTPUT_DIR}/N4ControlPoints_2D_output.nii.gz
              ${ITK_TEST_OUTPUT_DIR}/N4ControlPoints_2D_outputRefined.nii.gz
    itkBSplineControlPointImageFilterTest 2 ${ITK_DATA_ROOT}/Baseline/Review/N4ControlPoints_2D.nii.gz ${ITK_TEST_OUTPUT_DIR}/N4ControlPoints_2D_output.nii.gz ${ITK_TEST_OUTPUT_DIR}/N4ControlPoints_2D_outputRefined.nii.gz)
itk_add_test(NAME itkBSplineControlPointImageFilterTest2
      COMMAND ITKReviewTestDriver
    --compare ${ITK_TEST_OUTPUT_DIR}/N4ControlPoints_3D_output.nii.gz
              ${ITK_TEST_OUTPUT_DIR}/N4ControlPoints_3D_outputRefined.nii.gz
    itkBSplineControlPointImageFilterTest 3 ${ITK_DATA_ROOT}/Baseline/Review/N4ControlPoints_3D.nii.gz ${ITK_TEST_OUTPUT_DIR}/N4ControlPoints_3D_output.nii.gz ${ITK_TEST_OUTPUT_DIR}/N4ControlPoints_3D_outputRefined.nii.gz)
itk_add_test(NAME itkBSplineControlPointImageFunctionTest
      COMMAND ITKReviewTestDriver itkBSplineControlPointImageFunctionTest)
itk_add_test(NAME itkTransformToDisplacementFieldSourceTest03
      COMMAND ITKReviewTestDriver
    --compare ${TEMP}/transformedImage.nii
              ${TEMP}/warpedImage.nii
  --compareNumberOfPixelsTolerance 20
   itkTransformToDisplacementFieldSourceTest1 ${TEMP}/transformedImage.nii ${TEMP}/warpedImage.nii)
itk_add_test(NAME itkConformalFlatteningMeshFilterTest1
      COMMAND ITKReviewTestDriver itkConformalFlatteningMeshFilterTest
              ${ITK_DATA_ROOT}/Input/genusZeroSurface01.vtk ${ITK_TEST_OUTPUT_DIR}/genusZeroMesh01ConformalFlattenedToSphere.vtk 1)
itk_add_test(NAME itkConformalFlatteningMeshFilterTest2
      COMMAND ITKReviewTestDriver itkConformalFlatteningMeshFilterTest
              ${ITK_DATA_ROOT}/Input/genusZeroSurface01.vtk ${ITK_TEST_OUTPUT_DIR}/genusZeroMesh01ConformalFlattenedToPlane.vtk 0)
itk_add_test(NAME itkConformalFlatteningQuadEdgeMeshFilterTest1
      COMMAND ITKReviewTestDriver itkConformalFlatteningQuadEdgeMeshFilterTest
              ${ITK_DATA_ROOT}/Input/genusZeroSurface01.vtk ${ITK_TEST_OUTPUT_DIR}/genusZeroQuadEdgeMesh01ConformalFlattenedToSphere.vtk 3 100.0 1)
itk_add_test(NAME itkConformalFlatteningQuadEdgeMeshFilterTest2
      COMMAND ITKReviewTestDriver itkConformalFlatteningQuadEdgeMeshFilterTest
              ${ITK_DATA_ROOT}/Input/genusZeroSurface01.vtk ${ITK_TEST_OUTPUT_DIR}/genusZeroQuadEdgeMesh01ConformalFlattenedToPlane.vtk 3 100.0 0)
itk_add_test(NAME itkContourExtractor2DImageFilterTest
      COMMAND ITKReviewTestDriver itkContourExtractor2DImageFilterTest
              ${ITK_DATA_ROOT}/Input/ContourExtractor2DTest.tif)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest01
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest
              0 0 0.001 20.0 200 0.01 0.08 5 10)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest02
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest
              1 0 0.01 3.0 400 0.2 0.9 10 70)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest03
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest
              2 0 0.001 20.0 200 0.01 0.08 5 10)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest04
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest
              3 0 0.01 3.0 200 0.2 0.8 5 70)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest05
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest
              0 1 0.01 3.0 400 0.2 0.08 5 70)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest06
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest
              0 0 0.005 20.0 200 0.01 0.08 5 10)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest07
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest2
              ${ITK_EXAMPLE_DATA_ROOT}/RatLungSlice1.mha ${ITK_EXAMPLE_DATA_ROOT}/RatLungSlice2.mha ${ITK_TEST_OUTPUT_DIR}/itkDiffeomorphicDemonsRegistrationFilterTest07.mha 0 0 0.001 0.1)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest08
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest2
              ${ITK_EXAMPLE_DATA_ROOT}/RatLungSlice1.mha ${ITK_EXAMPLE_DATA_ROOT}/RatLungSlice2.mha ${ITK_TEST_OUTPUT_DIR}/itkDiffeomorphicDemonsRegistrationFilterTest08.mha 1 0 0.001 0.1)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest09
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest2
              ${ITK_EXAMPLE_DATA_ROOT}/RatLungSlice1.mha ${ITK_EXAMPLE_DATA_ROOT}/RatLungSlice2.mha ${ITK_TEST_OUTPUT_DIR}/itkDiffeomorphicDemonsRegistrationFilterTest09.mha 2 0 0.001 0.1)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest10
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest2
              ${ITK_EXAMPLE_DATA_ROOT}/RatLungSlice1.mha ${ITK_EXAMPLE_DATA_ROOT}/RatLungSlice2.mha ${ITK_TEST_OUTPUT_DIR}/itkDiffeomorphicDemonsRegistrationFilterTest10.mha 3 0 0.001 0.1)
itk_add_test(NAME itkDiffeomorphicDemonsRegistrationFilterTest11
      COMMAND ITKReviewTestDriver itkDiffeomorphicDemonsRegistrationFilterTest2
              ${ITK_EXAMPLE_DATA_ROOT}/RatLungSlice1.mha ${ITK_EXAMPLE_DATA_ROOT}/RatLungSlice2.mha ${ITK_TEST_OUTPUT_DIR}/itkDiffeomorphicDemonsRegistrationFilterTest11.mha 0 1 0.001 0.1)
itk_add_test(NAME itkDirectFourierReconstructionImageToImageFilterTest
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/reconstruct.mha
              ${ITK_TEST_OUTPUT_DIR}/reconstruct.mha
    itkDirectFourierReconstructionImageToImageFilterTest ${ITK_DATA_ROOT}/Input/sinogram-small.mha ${ITK_TEST_OUTPUT_DIR}/reconstruct.mha 1 2 0 2 2 1 3 180 0 0 0 64 64 2 0)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFilterScaleSpaceTest
      COMMAND ITKReviewTestDriver itkDiscreteGaussianDerivativeImageFilterScaleSpaceTest)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFilterTest01
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGaussianDerivativeImageFilterTest01.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest01.png
    itkDiscreteGaussianDerivativeImageFilterTest ${ITK_DATA_ROOT}/Input/whiteSpot.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest01.png 0 1 3.0)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFilterTest10
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGaussianDerivativeImageFilterTest10.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest10.png
    itkDiscreteGaussianDerivativeImageFilterTest ${ITK_DATA_ROOT}/Input/whiteSpot.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest10.png 1 0 3.0)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFilterTest11
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGaussianDerivativeImageFilterTest11.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest11.png
    itkDiscreteGaussianDerivativeImageFilterTest ${ITK_DATA_ROOT}/Input/whiteSpot.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest11.png 1 1 3.0)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFilterTest20
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGaussianDerivativeImageFilterTest20.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest20.png
    itkDiscreteGaussianDerivativeImageFilterTest ${ITK_DATA_ROOT}/Input/whiteSpot.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest20.png 2 0 3.0)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFilterTest02
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGaussianDerivativeImageFilterTest02.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest02.png
    itkDiscreteGaussianDerivativeImageFilterTest ${ITK_DATA_ROOT}/Input/whiteSpot.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest02.png 0 2 3.0)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFilterTest21
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGaussianDerivativeImageFilterTest21.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest21.png
    itkDiscreteGaussianDerivativeImageFilterTest ${ITK_DATA_ROOT}/Input/whiteSpot.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest21.png 2 1 3.0)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFilterTest12
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGaussianDerivativeImageFilterTest12.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest12.png
    itkDiscreteGaussianDerivativeImageFilterTest ${ITK_DATA_ROOT}/Input/whiteSpot.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest12.png 1 2 3.0)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFilterTest30
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGaussianDerivativeImageFilterTest30.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest30.png
    itkDiscreteGaussianDerivativeImageFilterTest ${ITK_DATA_ROOT}/Input/whiteSpot.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest30.png 3 0 3.0)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFilterTest03
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGaussianDerivativeImageFilterTest03.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest03.png
    itkDiscreteGaussianDerivativeImageFilterTest ${ITK_DATA_ROOT}/Input/whiteSpot.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFilterTest03.png 0 3 3.0)
itk_add_test(NAME itkDiscreteGaussianDerivativeImageFunctionTest01
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGaussianDerivativeImageFunctionTest01.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFunctionTest01.png
    itkDiscreteGaussianDerivativeImageFunctionTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGaussianDerivativeImageFunctionTest01.png 1 2.0 0.01 32)
itk_add_test(NAME itkDiscreteGradientMagnitudeGaussianImageFunctionTest01
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkDiscreteGradientMagnitudeGaussianImageFunctionTest01.png
              ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGradientMagnitudeGaussianImageFunctionTest01.png
    itkDiscreteGradientMagnitudeGaussianImageFunctionTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkDiscreteGradientMagnitudeGaussianImageFunctionTest01.png 2.0 0.01 32)
itk_add_test(NAME itkDivideByConstantImageFilterTest
      COMMAND ITKReviewTestDriver itkDivideByConstantImageFilterTest)
itk_add_test(NAME itkExponentialDisplacementFieldImageFilterTest
      COMMAND ITKReviewTestDriver itkExponentialDisplacementFieldImageFilterTest)
itk_add_test(NAME itkFastApproximateRankImageFilterTest3
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkFastApproximateRankImageFilter3.png
              ${ITK_TEST_OUTPUT_DIR}/itkFastApproximateRankImageFilter3.png
    itkFastApproximateRankImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkFastApproximateRankImageFilter3.png 3)
itk_add_test(NAME itkFastApproximateRankImageFilterTest10
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkFastApproximateRankImageFilter10.png
              ${ITK_TEST_OUTPUT_DIR}/itkFastApproximateRankImageFilter10.png
    itkFastApproximateRankImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkFastApproximateRankImageFilter10.png 10)
itk_add_test(NAME itkFastSymmetricForcesDemonsRegistrationFilterTest
      COMMAND ITKReviewTestDriver itkFastSymmetricForcesDemonsRegistrationFilterTest)
itk_add_test(NAME itkGaborImageSourceTest0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/GaborImageSourceTest0.mha
              ${ITK_TEST_OUTPUT_DIR}/GaborImageSourceTest0.mha
    itkGaborImageSourceTest ${ITK_TEST_OUTPUT_DIR}/GaborImageSourceTest0.mha 0)
itk_add_test(NAME itkGaborImageSourceTest1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/GaborImageSourceTest1.mha
              ${ITK_TEST_OUTPUT_DIR}/GaborImageSourceTest1.mha
    itkGaborImageSourceTest ${ITK_TEST_OUTPUT_DIR}/GaborImageSourceTest1.mha 1)
itk_add_test(NAME itkGaussianDerivativeOperatorTest
      COMMAND ITKReviewTestDriver itkGaussianDerivativeOperatorTest)
itk_add_test(NAME itkGridForwardWarpImageFilterTest
      COMMAND ITKReviewTestDriver itkGridForwardWarpImageFilterTest)
itk_add_test(NAME itkGridImageSourceTest1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkGridImageSourceTest1.nhdr
              ${ITK_TEST_OUTPUT_DIR}/itkGridImageSourceTest1.nhdr
    itkGridImageSourceTest ${ITK_TEST_OUTPUT_DIR}/itkGridImageSourceTest1.nhdr 0)
itk_add_test(NAME itkGridImageSourceTest2
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkGridImageSourceTest2.nhdr
              ${ITK_TEST_OUTPUT_DIR}/itkGridImageSourceTest2.nhdr
    itkGridImageSourceTest ${ITK_TEST_OUTPUT_DIR}/itkGridImageSourceTest2.nhdr 1)
itk_add_test(NAME itkGridImageSourceTest3
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkGridImageSourceTest3.nhdr
              ${ITK_TEST_OUTPUT_DIR}/itkGridImageSourceTest3.nhdr
    itkGridImageSourceTest ${ITK_TEST_OUTPUT_DIR}/itkGridImageSourceTest3.nhdr 2)
itk_add_test(NAME itkGridImageSourceTest4
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkGridImageSourceTest4.nhdr
              ${ITK_TEST_OUTPUT_DIR}/itkGridImageSourceTest4.nhdr
    itkGridImageSourceTest ${ITK_TEST_OUTPUT_DIR}/itkGridImageSourceTest4.nhdr 3)
itk_add_test(NAME itkImageReadComplexWriteMagnitudeAndPhaseTest
      COMMAND ITKReviewTestDriver itkImageReadComplexWriteMagnitudeAndPhaseTest
              ${ITK_EXAMPLE_DATA_ROOT}/itkBrainSliceComplex.mha ${ITK_TEST_OUTPUT_DIR}/itkBrainSliceComplexMagnitude.mha ${ITK_TEST_OUTPUT_DIR}/itkBrainSliceComplexPhase.mha)
itk_add_test(NAME itkImageReadMagnitudeAndPhaseWriteComplexTest
      COMMAND ITKReviewTestDriver itkImageReadMagnitudeAndPhaseWriteComplexTest
              ${ITK_EXAMPLE_DATA_ROOT}/itkBrainSliceComplexMagnitude.mha ${ITK_EXAMPLE_DATA_ROOT}/itkBrainSliceComplexPhase.mha ${ITK_TEST_OUTPUT_DIR}/itkBrainSliceComplex.mha)
itk_add_test(NAME itkImageFunctionTest
      COMMAND ITKReviewTestDriver itkImageFunctionTest)
itk_add_test(NAME itkJPEG2000Test00
      COMMAND ITKReviewTestDriver itkJPEG2000ImageIORegionOfInterest
              ${ITK_DATA_ROOT}/Input/Bretagne1.j2k ${ITK_TEST_OUTPUT_DIR}/Bretagne1_RegionTest01.tif 160 120 320 240)
itk_add_test(NAME itkJPEG2000Test01
      COMMAND ITKReviewTestDriver itkJPEG2000ImageIOTest03
              ${ITK_DATA_ROOT}/Input/Bretagne1.j2k ${ITK_TEST_OUTPUT_DIR}/Bretagne1_01.png)
itk_add_test(NAME itkJPEG2000Test02
      COMMAND ITKReviewTestDriver itkJPEG2000ImageIOTest03
              ${ITK_DATA_ROOT}/Input/Cevennes2.jp2 ${ITK_TEST_OUTPUT_DIR}/Cevennes2_01.png)
itk_add_test(NAME itkJPEG2000Test03
      COMMAND ITKReviewTestDriver itkJPEG2000ImageIOTest03
              ${ITK_TEST_OUTPUT_DIR}/Bretagne1_RegionTest01.tif ${ITK_TEST_OUTPUT_DIR}/Bretagne1_02.j2k)
set_tests_properties( itkJPEG2000Test03 PROPERTIES DEPENDS itkJPEG2000Test00 )

itk_add_test(NAME itkJPEG2000Test05
      COMMAND ITKReviewTestDriver itkJPEG2000ImageIOTest05
              ${ITK_DATA_ROOT}/Input/HeadMRVolume.mhd ${ITK_TEST_OUTPUT_DIR} jp2)
itk_add_test(NAME itkJPEG2000Test06
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/IO/cthead1.tif
              ${ITK_TEST_OUTPUT_DIR}/cthead1.tif
    itkJPEG2000ImageIOTest06 ${ITK_DATA_ROOT}/Input/cthead1.j2k ${ITK_TEST_OUTPUT_DIR}/cthead1.tif)
itk_add_test(NAME itkKappaSigmaThresholdImageCalculatorTest01
      COMMAND ITKReviewTestDriver itkKappaSigmaThresholdImageCalculatorTest
              ${ITK_DATA_ROOT}/Input/CellsFluorescence1.png 10 3.5 19)
itk_add_test(NAME itkKappaSigmaThresholdImageCalculatorTest02
      COMMAND ITKReviewTestDriver itkKappaSigmaThresholdImageCalculatorTest
              ${ITK_DATA_ROOT}/Input/CellsFluorescence2.png 10 3.0 19)
itk_add_test(NAME itkKappaSigmaThresholdImageFilterTest01
      COMMAND ITKReviewTestDriver itkKappaSigmaThresholdImageFilterTest
              ${ITK_DATA_ROOT}/Input/CellsFluorescence1.png ${ITK_TEST_OUTPUT_DIR}/itkKappaSigmaThresholdImageFilterTest01.mha 10 3.5)
itk_add_test(NAME itkKappaSigmaThresholdImageFilterTest02
      COMMAND ITKReviewTestDriver itkKappaSigmaThresholdImageFilterTest
              ${ITK_DATA_ROOT}/Input/CellsFluorescence2.png ${ITK_TEST_OUTPUT_DIR}/itkKappaSigmaThresholdImageFilterTest02.mha 10 3.0)
itk_add_test(NAME itkLabelGeometryImageFilterTest2
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkLabelGeometryImageFilterTest2Image.png
              ${ITK_TEST_OUTPUT_DIR}/itkLabelGeometryImageFilterTest2Image.png
    itkLabelGeometryImageFilterTest ${ITK_DATA_ROOT}/Input/BinaryImageWithVariousShapes01.png ${ITK_TEST_OUTPUT_DIR}/itkLabelGeometryImageFilterTest2Image.png 2 ${ITK_DATA_ROOT}/Input/GrayscaleImageWithVariousShapes01.png ${ITK_TEST_OUTPUT_DIR})
itk_add_test(NAME itkMapMaskedRankImageFilterTest3
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMaskedRankImageFilter3.png
              ${ITK_TEST_OUTPUT_DIR}/itkMapMaskedRankImageFilter3.png
    itkMapMaskedRankImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_DATA_ROOT}/Input/cthead1-mask.png ${ITK_TEST_OUTPUT_DIR}/itkMapMaskedRankImageFilter3.png 3)
itk_add_test(NAME itkMapMaskedRankImageFilterTest10
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMaskedRankImageFilter10.png
              ${ITK_TEST_OUTPUT_DIR}/itkMapMaskedRankImageFilter10.png
    itkMapMaskedRankImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_DATA_ROOT}/Input/cthead1-mask.png ${ITK_TEST_OUTPUT_DIR}/itkMapMaskedRankImageFilter10.png 10)
itk_add_test(NAME itkMapRankImageFilterTest3
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkRankImageFilter3.png
              ${ITK_TEST_OUTPUT_DIR}/itkMapRankImageFilter3.png
    itkMapRankImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkMapRankImageFilter3.png 3)
itk_add_test(NAME itkMapRankImageFilterTest10
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkRankImageFilter10.png
              ${ITK_TEST_OUTPUT_DIR}/itkMapRankImageFilter10.png
    itkMapRankImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkMapRankImageFilter10.png 10)
itk_add_test(NAME itkMaskedRankImageFilterTest3
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMaskedRankImageFilter3.png
              ${ITK_TEST_OUTPUT_DIR}/itkMaskedRankImageFilter3.png
    itkMaskedRankImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_DATA_ROOT}/Input/cthead1-mask.png ${ITK_TEST_OUTPUT_DIR}/itkMaskedRankImageFilter3.png 3)
itk_add_test(NAME itkMaskedRankImageFilterTest10
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMaskedRankImageFilter10.png
              ${ITK_TEST_OUTPUT_DIR}/itkMaskedRankImageFilter10.png
    itkMaskedRankImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_DATA_ROOT}/Input/cthead1-mask.png ${ITK_TEST_OUTPUT_DIR}/itkMaskedRankImageFilter10.png 10)
itk_add_test(NAME itkMorphologicalWatershedFromMarkersImageFilterTestM0F0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedFromMarkersImageFilterTestM0F0.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedFromMarkersImageFilterTestM0F0.png
    itkMorphologicalWatershedFromMarkersImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_DATA_ROOT}/Input/cthead1-markers.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedFromMarkersImageFilterTestM0F0.png 0 0)
itk_add_test(NAME itkMorphologicalWatershedFromMarkersImageFilterTestM0F1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedFromMarkersImageFilterTestM0F1.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedFromMarkersImageFilterTestM0F1.png
    itkMorphologicalWatershedFromMarkersImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_DATA_ROOT}/Input/cthead1-markers.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedFromMarkersImageFilterTestM0F1.png 0 1)
itk_add_test(NAME itkMorphologicalWatershedFromMarkersImageFilterTestM1F0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedFromMarkersImageFilterTestM1F0.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedFromMarkersImageFilterTestM1F0.png
    itkMorphologicalWatershedFromMarkersImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_DATA_ROOT}/Input/cthead1-markers.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedFromMarkersImageFilterTestM1F0.png 1 0)
itk_add_test(NAME itkMorphologicalWatershedFromMarkersImageFilterTestM1F1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedFromMarkersImageFilterTestM1F1.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedFromMarkersImageFilterTestM1F1.png
    itkMorphologicalWatershedFromMarkersImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_DATA_ROOT}/Input/cthead1-markers.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedFromMarkersImageFilterTestM1F1.png 1 1)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestButtonHoleM0F0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestButtonHoleM0F0.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestButtonHoleM0F0.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/button-hole.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestButtonHoleM0F0.png 0 0 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestPassValuesM0F0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestPassValuesM0F0.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPassValuesM0F0.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/pass-values.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPassValuesM0F0.png 0 0 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestPlateauM0F0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestPlateauM0F0.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPlateauM0F0.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/plateau.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPlateauM0F0.png 0 0 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestThickLinesM0F0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestThickLinesM0F0.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestThickLinesM0F0.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/thick-lines.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestThickLinesM0F0.png 0 0 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestButtonHoleM0F1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestButtonHoleM0F1.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestButtonHoleM0F1.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/button-hole.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestButtonHoleM0F1.png 0 1 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestPassValuesM0F1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestPassValuesM0F1.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPassValuesM0F1.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/pass-values.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPassValuesM0F1.png 0 1 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestPlateauM0F1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestPlateauM0F1.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPlateauM0F1.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/plateau.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPlateauM0F1.png 0 1 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestThickLinesM0F1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestThickLinesM0F1.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestThickLinesM0F1.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/thick-lines.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestThickLinesM0F1.png 0 1 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestButtonHoleM1F0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestButtonHoleM1F0.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestButtonHoleM1F0.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/button-hole.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestButtonHoleM1F0.png 1 0 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestPassValuesM1F0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestPassValuesM1F0.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPassValuesM1F0.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/pass-values.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPassValuesM1F0.png 1 0 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestPlateauM1F0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestPlateauM1F0.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPlateauM1F0.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/plateau.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPlateauM1F0.png 1 0 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestThickLinesM1F0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestThickLinesM1F0.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestThickLinesM1F0.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/thick-lines.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestThickLinesM1F0.png 1 0 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestButtonHoleM1F1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestButtonHoleM1F1.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestButtonHoleM1F1.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/button-hole.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestButtonHoleM1F1.png 1 1 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestPassValuesM1F1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestPassValuesM1F1.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPassValuesM1F1.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/pass-values.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPassValuesM1F1.png 1 1 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestPlateauM1F1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestPlateauM1F1.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPlateauM1F1.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/plateau.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestPlateauM1F1.png 1 1 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestThickLinesM1F1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestThickLinesM1F1.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestThickLinesM1F1.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/thick-lines.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestThickLinesM1F1.png 1 1 0)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestLevel00
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestLevel00.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel00.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/level.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel00.png 1 0 00)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestLevel10
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestLevel10.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel10.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/level.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel10.png 1 0 10)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestLevel20
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestLevel20.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel20.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/level.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel20.png 1 0 20)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestLevel30
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestLevel30.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel30.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/level.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel30.png 1 0 30)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestLevel40
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestLevel40.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel40.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/level.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel40.png 1 0 40)
itk_add_test(NAME itkMorphologicalWatershedImageFilterTestLevel50
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkMorphologicalWatershedImageFilterTestLevel50.png
              ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel50.png
    itkMorphologicalWatershedImageFilterTest ${ITK_DATA_ROOT}/Input/level.png ${ITK_TEST_OUTPUT_DIR}/itkMorphologicalWatershedImageFilterTestLevel50.png 1 0 50)
itk_add_test(NAME itkMRCImageIOTest
      COMMAND ITKReviewTestDriver itkMRCImageIOTest
              ${ITK_TEST_OUTPUT_DIR})
itk_add_test(NAME itkMultiphaseDenseFiniteDifferenceImageFilterTest
      COMMAND ITKReviewTestDriver itkMultiphaseDenseFiniteDifferenceImageFilterTest)
itk_add_test(NAME itkMultiphaseFiniteDifferenceImageFilterTest
      COMMAND ITKReviewTestDriver itkMultiphaseFiniteDifferenceImageFilterTest)
itk_add_test(NAME itkMultiphaseSparseFiniteDifferenceImageFilterTest
      COMMAND ITKReviewTestDriver itkMultiphaseSparseFiniteDifferenceImageFilterTest)
itk_add_test(NAME itkMultiplyByConstantImageFilterTest
      COMMAND ITKReviewTestDriver itkMultiplyByConstantImageFilterTest)
itk_add_test(NAME itkMultiScaleHessianBasedMeasureImageFilterTest
      COMMAND ITKReviewTestDriver itkMultiScaleHessianBasedMeasureImageFilterTest
              ${ITK_DATA_ROOT}/Input/DSA.png ${ITK_TEST_OUTPUT_DIR}/itkMultiScaleHessianBasedMeasureImageFilterTestEnhancedOutput.mha ${ITK_TEST_OUTPUT_DIR}/itkMultiScaleHessianBasedMeasureImageFilterTestScalesOutput.mha 5 10 10 1 0 ${ITK_TEST_OUTPUT_DIR}/itkMultiScaleHessianBasedMeasureImageFilterTestEnhancedOutput2.mha)
itk_add_test(NAME itkN4MRIBiasFieldCorrectionImageFilterTest1
      COMMAND ITKReviewTestDriver
    --compare ${BASELINE}/N4ControlPoints_2D.nii.gz
              ${TEMP}/N4ControlPoints_2D.nii.gz
    itkN4MRIBiasFieldCorrectionImageFilterTest 2
    ${ITK_EXAMPLE_DATA_ROOT}/BrainT1SliceBorder20.png    # input
    ${TEMP}/N4ControlPoints_2D.nii.gz                           # control point lattice
    4                                                           # shrink factor
    20x20                                                       # number of iterations
    none                                                        # mask
    200                                                         # spline distance
    )
itk_add_test(NAME itkN4MRIBiasFieldCorrectionImageFilterTest2
      COMMAND ITKReviewTestDriver
    --compare ${BASELINE}/N4ControlPoints_3D.nii.gz
              ${TEMP}/N4ControlPoints_3D.nii.gz
    itkN4MRIBiasFieldCorrectionImageFilterTest
    3
    ${ITK_DATA_ROOT}/Input/HeadMRVolumeCompressed.mha    # input
    ${TEMP}/N4ControlPoints_3D.nii.gz                                  # control point lattice
    3                                                                  # shrink factor
    10x10x10                                                           # number of iterations
    none                                                               # mask
    150                                                                # spline distance
    )
itk_add_test(NAME itkNeuralNetworkIOTest
      COMMAND ITKReviewTestDriver itkNeuralNetworkIOTest
              ${ITK_DATA_ROOT}/Input/xornet.txt ${ITK_DATA_ROOT}/Input/xortest.txt ${ITK_TEST_OUTPUT_DIR})
itk_add_test(NAME itkOptImageToImageMetricsTest01
      COMMAND ITKReviewTestDriver itkOptImageToImageMetricsTest
              ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySliceBorder20.png
              ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySliceBorder20.png)
itk_add_test(NAME itkOptImageToImageMetricsTest02
      COMMAND ITKReviewTestDriver --with-threads 2
              itkOptImageToImageMetricsTest
              ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySliceBorder20.png
              ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySliceBorder20.png)
itk_add_test(NAME itkOptImageToImageMetricsTest03
      COMMAND ITKReviewTestDriver --without-threads
              itkOptImageToImageMetricsTest
              ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySliceBorder20.png ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySliceBorder20.png)
itk_add_test(NAME itkOptImageToImageMetricsTest04
      COMMAND ITKReviewTestDriver
      itkOptImageToImageMetricsTest2
      ${ITK_EXAMPLE_DATA_ROOT}/DiagonalLines.png DATA{Baseline/itkBSplineTransformTest4.png})
itk_add_test(NAME itkOptMattesImageToImageMetricsTest01
      COMMAND ITKReviewTestDriver itkOptMattesMutualInformationImageToImageMetricThreadsTest1
              ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySliceBorder20.png ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySliceBorder20.png 0 100)
itk_add_test(NAME itkRankImageFilterTest3
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkRankImageFilter3.png
              ${ITK_TEST_OUTPUT_DIR}/itkRankImageFilter3.png
    itkRankImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkRankImageFilter3.png 3)
itk_add_test(NAME itkRankImageFilterTest10
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkRankImageFilter10.png
              ${ITK_TEST_OUTPUT_DIR}/itkRankImageFilter10.png
    itkRankImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkRankImageFilter10.png 10)
itk_add_test(NAME itkRegionalMinimaImageFilterTest2_1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/cthead1RegionalMinimal-ref2_1.png
              ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMinimal2_1.png
    itkRegionalMaximaImageFilterTest2 1 1 ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMinimal2_1.png ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMinimal-ref2_1.png)
itk_add_test(NAME itkRegionalMinimaImageFilterTest2_2
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/cthead1RegionalMinimal-ref2_2.png
              ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMinimal2_2.png
    itkRegionalMaximaImageFilterTest2 0 1 ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMinimal2_2.png ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMinimal-ref2_2.png)
itk_add_test(NAME itkRegionalMaximaImageFilterTest2_1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/cthead1RegionalMaximal-ref2_1.png
              ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMaximal2_1.png
    itkRegionalMaximaImageFilterTest2 1 1 ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMaximal2_1.png ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMaximal-ref2_1.png)
itk_add_test(NAME itkRegionalMaximaImageFilterTest2_2
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/cthead1RegionalMaximal-ref2_2.png
              ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMaximal2_2.png
    itkRegionalMaximaImageFilterTest2 0 1 ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMaximal2_2.png ${ITK_TEST_OUTPUT_DIR}/cthead1RegionalMaximal-ref2_2.png)
itk_add_test(NAME itkRegionBasedLevelSetFunctionTest
      COMMAND ITKReviewTestDriver itkRegionBasedLevelSetFunctionTest)
itk_add_test(NAME itkRobustAutomaticThresholdImageFilterTest
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkRobustAutomaticThresholdImageFilterTest.png
              ${ITK_TEST_OUTPUT_DIR}/itkRobustAutomaticThresholdImageFilterTest.png
    itkRobustAutomaticThresholdImageFilterTest ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/itkRobustAutomaticThresholdImageFilterTest.png 2)
itk_add_test(NAME itkScalarChanAndVeseDenseLevelSetImageFilterTest1
      COMMAND ITKReviewTestDriver itkScalarChanAndVeseDenseLevelSetImageFilterTest1)
itk_add_test(NAME itkScalarChanAndVeseDenseLevelSetImageFilterTest2_0
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_0.mha
              ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_0.mha
    itkScalarChanAndVeseDenseLevelSetImageFilterTest2 ${ITK_DATA_ROOT}/Baseline/Segmentation/ShapeDetectionLevelSetLeftVentricleTest.png ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySlice.png ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_0.mha 1 1 0 0 0)
itk_add_test(NAME itkScalarChanAndVeseDenseLevelSetImageFilterTest2_1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_1.mha
              ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_1.mha
    itkScalarChanAndVeseDenseLevelSetImageFilterTest2 ${ITK_DATA_ROOT}/Baseline/Segmentation/ShapeDetectionLevelSetLeftVentricleTest.png ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySlice.png ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_1.mha 1 1 1 1 200)
itk_add_test(NAME itkScalarChanAndVeseDenseLevelSetImageFilterTest2_2
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_2.mha
              ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_2.mha
    itkScalarChanAndVeseDenseLevelSetImageFilterTest2 ${ITK_DATA_ROOT}/Baseline/Segmentation/ShapeDetectionLevelSetLeftVentricleTest.png ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySlice.png ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_2.mha 0 0 1 0 0)
itk_add_test(NAME itkScalarChanAndVeseDenseLevelSetImageFilterTest2_3
      COMMAND ITKReviewTestDriver itkScalarChanAndVeseDenseLevelSetImageFilterTest2
              ${ITK_DATA_ROOT}/Baseline/Segmentation/ShapeDetectionLevelSetLeftVentricleTest.png ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySlice.png ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_3.mha 0 0 0 0 0)
itk_add_test(NAME itkScalarChanAndVeseDenseLevelSetImageFilterTest3
      COMMAND ITKReviewTestDriver itkScalarChanAndVeseDenseLevelSetImageFilterTest3)
itk_add_test(NAME itkScalarChanAndVeseDenseLevelSetImageFilterTest4
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkScalarChanAndVeseDenseLevelSetImageFilterTest2_0.mha
              ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseDenseLevelSetImageFilterTest4.mha
    itkScalarChanAndVeseDenseLevelSetImageFilterTest4 ${ITK_DATA_ROOT}/Baseline/Segmentation/ShapeDetectionLevelSetLeftVentricleTest.png ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySlice.png ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseDenseLevelSetImageFilterTest4.mha 1 1 0 0 0)
itk_add_test(NAME itkScalarChanAndVeseLevelSetFunctionTest1
      COMMAND ITKReviewTestDriver itkScalarChanAndVeseLevelSetFunctionTest1)
itk_add_test(NAME itkScalarChanAndVeseLevelSetFunctionTest2
      COMMAND ITKReviewTestDriver itkScalarChanAndVeseLevelSetFunctionTest2)
itk_add_test(NAME itkScalarChanAndVeseSparseLevelSetImageFilterTest1
      COMMAND ITKReviewTestDriver itkScalarChanAndVeseSparseLevelSetImageFilterTest1)
itk_add_test(NAME itkScalarChanAndVeseSparseLevelSetImageFilterTest2
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkScalarChanAndVeseSparseLevelSetImageFilterTest2.mha
              ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseSparseLevelSetImageFilterTest2.mha
    itkScalarChanAndVeseSparseLevelSetImageFilterTest2 ${ITK_DATA_ROOT}/Baseline/Segmentation/ShapeDetectionLevelSetLeftVentricleTest.png ${ITK_EXAMPLE_DATA_ROOT}/BrainProtonDensitySlice.png ${ITK_TEST_OUTPUT_DIR}/itkScalarChanAndVeseSparseLevelSetImageFilterTest2.mha)
itk_add_test(NAME itkScalarRegionBasedLevelSetFunctionTest
      COMMAND ITKReviewTestDriver itkScalarRegionBasedLevelSetFunctionTest)
itk_add_test(NAME itkShapedFloodFilledImageFunctionConditionalConstIteratorTest1
      COMMAND ITKReviewTestDriver itkShapedFloodFilledImageFunctionConditionalConstIteratorTest1
              ${ITK_DATA_ROOT}/Input/8ConnectedImage.bmp)
itk_add_test(NAME itkShapedFloodFilledImageFunctionConditionalConstIteratorTest2
      COMMAND ITKReviewTestDriver itkShapedFloodFilledImageFunctionConditionalConstIteratorTest2)
itk_add_test(NAME itkShapedFloodFilledImageFunctionConditionalConstIteratorTest3
      COMMAND ITKReviewTestDriver itkShapedFloodFilledImageFunctionConditionalConstIteratorTest3)
itk_add_test(NAME itkStochasticFractalDimensionImageFilterTest1
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkStochasticFractalDimensionImageFilterTest1.mha
              ${ITK_TEST_OUTPUT_DIR}/itkStochasticFractalDimensionImageFilterTest1.mha
    itkStochasticFractalDimensionImageFilterTest 2 ${ITK_DATA_ROOT}/Input/TreeBarkTexture.png ${ITK_TEST_OUTPUT_DIR}/itkStochasticFractalDimensionImageFilterTest1.mha 2)
itk_add_test(NAME itkStochasticFractalDimensionImageFilterTest2
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/itkStochasticFractalDimensionImageFilterTest2.mha
              ${ITK_TEST_OUTPUT_DIR}/itkStochasticFractalDimensionImageFilterTest2.mha
    itkStochasticFractalDimensionImageFilterTest 2 ${ITK_DATA_ROOT}/Input/TreeBarkTexture.png ${ITK_TEST_OUTPUT_DIR}/itkStochasticFractalDimensionImageFilterTest2.mha 2 ${ITK_DATA_ROOT}/Input/circle100.png 255)
itk_add_test(NAME itkSubtractConstantFromImageFilterTest
      COMMAND ITKReviewTestDriver itkSubtractConstantFromImageFilterTest)
itk_add_test(NAME itkTimeAndMemoryProbeTest1
      COMMAND ITKReviewTestDriver itkTimeAndMemoryProbeTest)
itk_add_test(NAME itkTransformToDisplacementFieldSourceTest01
      COMMAND ITKReviewTestDriver itkTransformToDisplacementFieldSourceTest
              Affine ${ITK_TEST_OUTPUT_DIR}/itkTransformToDisplacementFieldSourceTestField01.mha ${ITK_TEST_OUTPUT_DIR}/itkTransformToDisplacementFieldSourceTestImage01.mha)
itk_add_test(NAME itkTransformToDisplacementFieldSourceTest02
      COMMAND ITKReviewTestDriver itkTransformToDisplacementFieldSourceTest
              BSpline ${ITK_TEST_OUTPUT_DIR}/itkTransformToDisplacementFieldSourceTestField02.mha ${ITK_DATA_ROOT}/Input/parametersBSpline.txt ${ITK_TEST_OUTPUT_DIR}/itkTransformToDisplacementFieldSourceTestImage02.mha)
itk_add_test(NAME itkValuedRegionalMaximaImageFilterTest
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/cthead1ValuedRegionalMaximal-ref.png
              ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMaximal.png
    itkValuedRegionalMaximaImageFilterTest 1 ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMaximal.png ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMaximal-ref.png)
itk_add_test(NAME itkValuedRegionalMaximaImageFilterTest2
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/cthead1ValuedRegionalMaximal-ref2.png
              ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMaximal2.png
    itkValuedRegionalMaximaImageFilterTest 0 ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMaximal2.png ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMaximal-ref2.png)
itk_add_test(NAME itkValuedRegionalMinimaImageFilterTest
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/cthead1ValuedRegionalMinimal-ref.png
              ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMinimal.png
    itkValuedRegionalMinimaImageFilterTest 1 ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMinimal.png ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMinimal-ref.png)
itk_add_test(NAME itkValuedRegionalMinimaImageFilterTest2
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/Review/cthead1ValuedRegionalMinimal-ref2.png
              ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMinimal2.png
    itkValuedRegionalMinimaImageFilterTest 0 ${ITK_DATA_ROOT}/Input/cthead1.png ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMinimal2.png ${ITK_TEST_OUTPUT_DIR}/cthead1ValuedRegionalMinimal-ref2.png)
itk_add_test(NAME itkVectorCentralDifferenceImageFunctionTest
      COMMAND ITKReviewTestDriver itkVectorCentralDifferenceImageFunctionTest)
itk_add_test(NAME itkVoxBoCUBImageIOTest1
      COMMAND ITKReviewTestDriver itkVoxBoCUBImageIOTest
              ${ITK_DATA_ROOT}/Input/HeadMRVolume.mhd ${ITK_TEST_OUTPUT_DIR}/HeadMRVolume.cub)
itk_add_test(NAME itkVoxBoCUBImageIOTest2
      COMMAND ITKReviewTestDriver itkVoxBoCUBImageIOTest
              ${ITK_DATA_ROOT}/Input/HeadMRVolume.cub ${ITK_TEST_OUTPUT_DIR}/HeadMRVolume1.cub)
itk_add_test(NAME itkVoxBoCUBImageIOTest3
      COMMAND ITKReviewTestDriver itkVoxBoCUBImageIOTest
              ${ITK_DATA_ROOT}/Input/HeadMRVolume1.cub ${ITK_TEST_OUTPUT_DIR}/HeadMRVolume1.cub.gz)
itk_add_test(NAME itkVoxBoCUBImageIOTest4
      COMMAND ITKReviewTestDriver itkVoxBoCUBImageIOTest
              ${ITK_DATA_ROOT}/Input/HeadMRVolume1.cub.gz ${ITK_TEST_OUTPUT_DIR}/HeadMRVolume2.cub.gz)
itk_add_test(NAME itkVoxBoCUBImageIOTest5
      COMMAND ITKReviewTestDriver itkVoxBoCUBImageIOTest
              ${ITK_DATA_ROOT}/Input/HeadMRVolume2.cub.gz ${ITK_TEST_OUTPUT_DIR}/HeadMRVolume2.cub)
itk_add_test(NAME itkVoxBoCUBImageIOTest6
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/IO/HeadMRVolume.mhd
              ${ITK_TEST_OUTPUT_DIR}/HeadMRVolumeFromCUB2.mha
    itkVoxBoCUBImageIOTest ${ITK_DATA_ROOT}/Input/HeadMRVolume2.cub ${ITK_TEST_OUTPUT_DIR}/HeadMRVolumeFromCUB2.mha)
itk_add_test(NAME itkVoxBoCUBImageIOTest7
      COMMAND ITKReviewTestDriver
    --compare ${ITK_DATA_ROOT}/Baseline/IO/HeadMRVolume.mhd
              ${ITK_TEST_OUTPUT_DIR}/HeadMRVolumeFromCUB3.mha
    itkVoxBoCUBImageIOTest ${ITK_DATA_ROOT}/Input/HeadMRVolume2.cub.gz ${ITK_TEST_OUTPUT_DIR}/HeadMRVolumeFromCUB3.mha)
itk_add_test(NAME itkWarpHarmonicEnergyCalculatorTest
      COMMAND ITKReviewTestDriver itkWarpHarmonicEnergyCalculatorTest)
itk_add_test(NAME itkHessianToObjectnessMeasureImageFilterTest
      COMMAND ITKReviewTestDriver
  --compare ${BASELINE}/itkHessianToObjectnessMeasureImageFilterTest.mha
            ${TEMP}/itkHessianToObjectnessMeasureImageFilterTestOutput.mha
            --compareIntensityTolerance .01
  itkHessianToObjectnessMeasureImageFilterTest
  ${INPUTDATA}/DSA.png
  ${TEMP}/itkHessianToObjectnessMeasureImageFilterTestOutput.mha
  1 0)

itk_add_test(NAME itkHessianToObjectnessMeasureImageFilterTest2
      COMMAND ITKReviewTestDriver
  --compare ${BASELINE}/itkHessianToObjectnessMeasureImageFilterTest2.mha
            ${TEMP}/itkHessianToObjectnessMeasureImageFilterTestOutput2.mha
            --compareIntensityTolerance .01
  itkHessianToObjectnessMeasureImageFilterTest
  ${INPUTDATA}/DSA.png
  ${TEMP}/itkHessianToObjectnessMeasureImageFilterTestOutput2.mha
  0 0)
itk_add_test(NAME itkCompositeTransformReaderTest
      COMMAND ITKReviewTestDriver itkCompositeTransformReaderTest)
itk_add_test(NAME itkCompositeTransformWriterTest
      COMMAND ITKReviewTestDriver itkCompositeTransformWriterTest ${TEMP})
itk_add_test(NAME itkCompositeTransformWriterAndReaderTest
      COMMAND ITKReviewTestDriver
      itkCompositeTransformWriterAndReaderTest ${TEMP})
